<!--底部-->
		<footer class="footer-nav flex h-center v-center">
			<div id="tab_game" class="flex-1 footer-tab text-center">
				<a href="{:url('Index/index')}">
					<div><img src="__STATIC__/jcweb/img/game-icon.png" /></div>
					<div>游戏</div>
				</a>
			</div>
			<div id="tab_history" class="flex-1 footer-tab text-center">
				<a  href="{:url('Index/history')}">
					<div><img src="__STATIC__/jcweb/img/record-icon.png" /></div>
					<div>记录</div>
				</a>
			</div>

			<div id="tab_daili" class="flex-1 footer-tab text-center">
				<a href="{:url('Index/daili')}">
					<div><img src="__STATIC__/jcweb/img/agency-icon.png" /></div>
					<div>代理</div>
				</a>
			</div>
			<div id="tab_kefu" class="flex-1 footer-tab text-center">
				<a href="{:url('Index/kefu')}">
					<div><img src="__STATIC__/jcweb/img/service-icon.png" /></div>
					<div>客服</div>
				</a>
			</div>
			<div id="tab_me" class="flex-1 footer-tab text-center">
				<a href="{:url('Index/me')}">
					<div><img src="__STATIC__/jcweb/img/my-icon.png" /></div>
					<div>我的</div>
				</a>
			</div>

		</footer>
<script>
$(function(){
	var select_tab = "{$select_tab}";
	if(select_tab==""||select_tab==null){
		
	}else{
		$(".footer-tab").removeClass("footer-tab-select");
		$("#"+select_tab).addClass("footer-tab-select");
		$("#"+select_tab).find("a").attr("href","javascript:;");
		var str = $("#"+select_tab).find("img").attr("src");
		str=str.substr(0,str.length-4)+"2.png";
		$("#"+select_tab).find("img").attr("src",str);
	}
	
});
</script>
<style>
			.success-btn{
	clear: both;
	margin: 10px auto;
	top: 10px;
	width: 50%;
	position: relative;
	
}
		</style>
		<div id="success-dialpg" class="dialog fill-all flex v-center" style="z-index:3;">
			
			<div class="pay-container">
				<img src="__STATIC__/jcweb/img/bg-19.png" onclick="closeSuccess()" class="pay-close" />
				<h1 id="success-dialpg-text" class="text-center" style="color: white;">账户充值</h1>
				
				<div class="success-btn">
					<img src="__STATIC__/jcweb/img/btn-y-icon.png" class="fill-w" />
					<div id="closeSuccessBtn" class="fill-all flex h-center v-center pay-btn-word">
						确定
					</div>
					
				</div>
			</div>
			
			
			
		</div>
		<script>
			
			function closeSuccess(){
				$("#success-dialpg").css("visibility","hidden");
			}
			function showSuccess(tips,callback){
				if(tips){
					$("#success-dialpg-text").text(tips);
				}
				$("#success-dialpg").css("visibility","visible");
				$("#closeSuccessBtn").unbind("click");
				$("#closeSuccessBtn").bind("click",function(){
					closeSuccess();
					if(callback){
						callback();
					}
				});
				
			}
		</script>
		